package com.binsoft.ndtta;

import java.util.Calendar;

public class Team 
{
	private String mName = "";
	private int mHomeNight = Calendar.SUNDAY;
	private double mLatitude = 0;
	private double mLongitude = 0;
	private TeamContact mContactDetails;
	
	@SuppressWarnings("unused")
	private final static String TAG = "Team";
	
	Team()
	{
	}
	
	Team( String name, int homeNight )
	{
		mName = name;
		mHomeNight = homeNight;
	}
	
	Team( String name, int homeNight, Constants.Location loc, TeamContact contactDetails )
	{
		this( name, homeNight );
		
		mLatitude = loc.latitude();
		mLongitude = loc.longitude();
		mContactDetails = contactDetails;
	}
	
	public String name()
	{
		return mName;
	}
	
	public int homeNight()
	{
		return mHomeNight;
	}
	
	public double latitude()
	{
		return mLatitude;
	}
	
	public double longitude()
	{
		return mLongitude;
	}
	
	public TeamContact contact()
	{
		return mContactDetails;
	}	
}
